﻿namespace GX
{
    public interface IDataOutput
    {
        void WriteBool(bool value);
        void WriteByte(byte value);
        void WriteShort(short value);
        void WriteInt(int value);
        void WriteLong(long value);
        void WriteUShort(ushort value);
        void WriteUInt(uint value);
        void WriteULong(ulong value);
        void WriteFloat(float value);
        void WriteDouble(double value);
        void WriteString(string value);
        void Write(byte[] bytes, int offset = 0, int length = 0);
    }//END interface
}